package com.association.main.dto;

import com.association.main.domain.Clubs;
import com.association.main.domain.Department;
import com.association.main.domain.Users;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

@Data
public class ClubsDto extends Clubs {
    private Department department;
    private Users users;

    private long count;


    public ClubsDto(){

    }
    public ClubsDto(String departmentName,String name,String phone,String email,long count){
        this.department=new Department();
        this.users=new Users();
        this.department.setName(departmentName);
        this.users.setPhone(phone);
        this.users.setEmail(email);
        this.users.setName(name);
        this.count = count;
    }


}
